using System;
using System.Configuration;
using System.Windows.Forms;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Security;
using DevExpress.ExpressApp.Win;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.ExpressApp.Xpo;

namespace WorkFlowDemo.Win
{
    public class ServerApplication : XafApplication
    {
        protected override void CreateDefaultObjectSpaceProvider (CreateCustomObjectSpaceProviderEventArgs args)
        {
            args.ObjectSpaceProvider = new XPObjectSpaceProvider(args.ConnectionString, args.Connection);
        }

        protected override DevExpress.ExpressApp.Layout.LayoutManager CreateLayoutManagerCore(bool simple)
        {
            throw new NotImplementedException();
        }

        internal void Logon()
        {
            //throw new NotImplementedException();
            base.Logon(null);
        }
    }
}
